Skip to content

Conversation

timholy
Copy link
Member

@timholy timholy commented Aug 26, 2020

@timholy
Copy link
Member Author

timholy commented Aug 26, 2020

Several of these were not problematic in their original form, but my thought is that we should discourage anything that might encourage users to use convert(Array{C}, img).

Do you think we need to have a docs warning that convert(Array{RGB}, img) will result in an abstract eltype but that RGB.(img) will be concrete?

@johnnychen94
Copy link
Member

johnnychen94 commented Aug 26, 2020

Do you think we need to have a docs warning that convert(Array{RGB}, img) will result in an abstract eltype but that RGB.(img) will be concrete?

We can add it in #146. @mgautam98 do you want to continue that PR recently?

@mgautam98
Copy link
Collaborator

I can add it in #146. @mgautam98 do you want to continue that PR recently?

Yes, I want to continue. I will add this warning.

@timholy timholy merged commit 3a4e439 into source Aug 31, 2020
@timholy timholy deleted the teh/convert_deprecation branch August 31, 2020 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants